//
//  LoginApIModel.h
//  MobileOffice
//
//  Created by jjkj on 17/3/15.
//  Copyright © 2017年 liaoningjujin. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^ResponseBlock)(NSDictionary *response);
@interface LoginApIModel : NSObject
/** * *
   更新registerID
 */
+ (void)updateJPUSHRegistrationID;
/**
 * 更新版本
 */
+ (void)updateApp:(UIViewController *)viewController;
/**检测网络名称*/
+ (NSString *)getNetworkName;


/** * *
 * 登录
 * postParams 登录信息
 */
+ (void)login:(NSDictionary *)postParams success:(ResponseBlock)response;
@end
